# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=py3-atspi
pkgver=2.36.0
pkgrel=1
pkgdesc="Python client bindings for D-Bus AT-SPI"
url="https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/"
arch="noarch"
license="GPL-2.0-or-later"
depends="python3 py3-gobject3"
makedepends="python3-dev py3-gobject3-dev"
options="!check" # Don't work with python3
source="https://download.gnome.org/sources/pyatspi/${pkgver%.*}/pyatspi-$pkgver.tar.xz"
builddir="$srcdir/pyatspi-$pkgver"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="709236fd992f570426043e32b201bdfee06bb28faa3d1237778f4069d3548b88b8336e53c0951359f5c7e2914b90f6f682ac58e33c84e32f360bdc32662800af  pyatspi-2.36.0.tar.xz"
